package com.aletto.general_store.ui.adapters;


import com.aletto.general_store.utils.image.GlideApp;
import com.youth.banner.adapter.BannerImageAdapter;
import com.youth.banner.holder.BannerImageHolder;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class GoodsCoverBannerAdapter extends BannerImageAdapter<String> {

    public GoodsCoverBannerAdapter(List<String> mData) {
        super(mData);
    }

    @Override
    public void onBindView(BannerImageHolder holder, String data, int position, int size) {
        GlideApp.with(holder.imageView)
                .load(data)
                .normal()
                .into(holder.imageView);
    }

}
